﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="GetYearHolidayDetail.aspx.cs" Inherits="WorkTime_GetYearHolidayDetail" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
 <infolight:webgridview runat="server" cellpadding="1" forecolor="#333333" width="100%"
            aborticonurl="../Image/UIPics/Abort.gif" addiconurl="../Image/UIPics/Add.gif"
            applyiconurl="../Image/UIPics/Apply.gif" canceliconurl="../Image/UIPics/Cancel.gif"
            mouseoveraborticonurl="../Image/UIPics/Abort2.gif" mouseoveraddiconurl="../Image/UIPics/Add2.gif"
            mouseoverapplyiconurl="../Image/UIPics/Apply2.gif" mouseovercanceliconurl="../Image/UIPics/Cancel2.gif"
            mouseoverokiconurl="../Image/UIPics/OK2.gif" mouseoverqueryiconurl="../Image/UIPics/Query2.gif"
            okiconurl="../Image/UIPics/OK.gif" 
        queryiconurl="../Image/UIPics/Query.gif" headerstylewrap="False"
            backcolor="White" bordercolor="White" borderstyle="Groove" borderwidth="2px"
            onrowdatabound="wgvMaster_RowDataBound" pagesize="20" id="GVDetail" 
        datasourceid="Master">
            <columns>
            <asp:BoundField DataField="Id" HeaderText="编号" SortExpression="EmployeeID" />
            <asp:BoundField DataField="EmpName" HeaderText="员工姓名" SortExpression="EmpName" />
            <asp:BoundField DataField="Years" HeaderText="年份" SortExpression="Country" />
            <asp:BoundField DataField="Days" HeaderText="天数" />
                <asp:BoundField DataField="name" HeaderText="请假类型" 
                    SortExpression="DepartmentName"></asp:BoundField>
                <asp:BoundField DataField="SheetId" HeaderText="请假单编号"></asp:BoundField>
                <asp:BoundField DataField="Remark" HeaderText="备注">
                    <ItemStyle Width="150px" />
                </asp:BoundField>
        </columns>
            <pagersettings mode="NumericFirstLast" />
            <footerstyle backcolor="#507CD1" forecolor="White" font-bold="True"></footerstyle>
            <rowstyle backcolor="#EFF3FB"></rowstyle>
            <editrowstyle backcolor="#2461BF"></editrowstyle>
            <navcontrols>
            <InfoLight:ControlItem ControlName="Add" ControlText="add" ControlType="Image" 
                ControlVisible="False" DisenableImageUrl="../image/uipics/add3.gif" 
                ImageUrl="../image/uipics/add.gif" MouseOverImageUrl="../image/uipics/add2.gif" 
                Size="25" />
            <InfoLight:ControlItem ControlName="Query" ControlText="query" 
                ControlType="Image" ControlVisible="False" 
                DisenableImageUrl="../image/uipics/query3.gif" 
                ImageUrl="../image/uipics/query.gif" 
                MouseOverImageUrl="../image/uipics/query2.gif" Size="25" />
            <InfoLight:ControlItem ControlName="Apply" ControlText="apply" 
                ControlType="Image" ControlVisible="False" 
                DisenableImageUrl="../image/uipics/apply3.gif" 
                ImageUrl="../image/uipics/apply.gif" 
                MouseOverImageUrl="../image/uipics/apply2.gif" Size="25" />
            <InfoLight:ControlItem ControlName="Abort" ControlText="abort" 
                ControlType="Image" ControlVisible="False" 
                DisenableImageUrl="../image/uipics/abort3.gif" 
                ImageUrl="../image/uipics/abort.gif" 
                MouseOverImageUrl="../image/uipics/abort2.gif" Size="25" />
            <InfoLight:ControlItem ControlName="OK" ControlText="Insert" 
                ControlType="Image" ControlVisible="False" 
                DisenableImageUrl="../image/uipics/ok3.gif" ImageUrl="../image/uipics/ok.gif" 
                MouseOverImageUrl="../image/uipics/ok2.gif" Size="25" />
            <InfoLight:ControlItem ControlName="Cancel" ControlText="cancel" 
                ControlType="Image" ControlVisible="False" 
                DisenableImageUrl="../image/uipics/cancel3.gif" 
                ImageUrl="../image/uipics/cancel.gif" 
                MouseOverImageUrl="../image/uipics/cancel2.gif" Size="25" />
        </navcontrols>
            <selectedrowstyle backcolor="#D1DDF1" forecolor="#333333" font-bold="True"></selectedrowstyle>
            <pagerstyle backcolor="LightBlue" forecolor="White" horizontalalign="Center"></pagerstyle>
            <headerstyle backcolor="DeepSkyBlue" forecolor="White" font-bold="True"></headerstyle>
            <alternatingrowstyle backcolor="White" bordercolor="White"></alternatingrowstyle>
        </infolight:webgridview>
    <InfoLight:WebDataSource ID="Master" runat="server" SelectAlias="Usasdb" SelectCommand="select WorkTime_YearHoliday.[Id],Employees.EmpName,WorkTime_YearHoliday.Years,WorkTime_YearHoliday.Days,WorkTime_SV_YearType.[name],WorkTime_YearHoliday.SheetId,WorkTime_YearHoliday.Remark
 from WorkTime_YearHoliday 
 left join Employees on (Employees.EmployeeId=WorkTime_YearHoliday.EmployeeId)
 left join WorkTime_SV_YearType on (WorkTime_SV_YearType.[Id]=WorkTime_YearHoliday.DataType)
 order by WorkTime_YearHoliday.Years desc">
    </InfoLight:WebDataSource>
    </form>
</body>
</html>
